﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Transcend.DP3.Db
{
	public class DbDataTypeContract
	{

		/// <summary>
		/// 将oracle数字类型转换成boolean类型，0:false,1:true
		/// </summary>
		/// <param name="intVal"></param>
		/// <returns></returns>
		public bool BoolValue(int intVal)
		{
			if (intVal == 0) return false;
			return true;
		}

	}
}
